package com.bosicloud.cmb.ibp;

import com.jcabi.manifests.Manifests;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * @author Jack Peng / ziliang.peng@bosicloud.com
 */
@Slf4j
@EnableFeignClients
@EnableCircuitBreaker
@SpringBootApplication
public class IBPMicroPlatformManagerApp {

    public static void main(String[] args) {

        try {
            System.out.println(String.format("BUILD VERSION: %s",Manifests.read("build-time")));
        } catch (Exception e) {
            log.debug("Not Found 'BuildVersion'.");
        }

        SpringApplication.run(IBPMicroPlatformManagerApp.class, args);

    }

}

